package com.xb.report.mapper;

import com.github.pagehelper.Page;
import com.xb.report.bean.PersonInfo;

import java.util.List;
import java.util.Map;

/**
 * @Author gxd
 * @Date： 2018/6/12
 */
public interface DataCountMapper {
    //浏览量
    List<Map<String, Object>> getViewsList(Map<String, String> map);
    //访问量
    List<Map<String, Object>> getVisitList(Map<String, String> map);

    //结算量
    List<Map<String, Object>> getNumList(Map<String, String> map);
    //扣量
    List<Map<String, Object>> getDedctionList(Map<String, String> map);
    //应付金额
    List<Map<String, Object>> getPayList(Map<String, String> map);
    //盈利
    List<Map<String, Object>> getProfitList(Map<String, String> map);

    List<Map<String, Object>> getUidTop10(Map<String, String> map);
    List<Map<String, Object>> getPlanTop10(Map<String, String> map);
    List<Map<String, Object>> getAdvTop10(Map<String, String> map);


    Page<Map<String,Object>> getPlanListByPage(Map<String,String> map);

    List<Map<String,Object>> getBrowserList(Map<String,String> map);

    List<Map<String,Object>> getAreaList(Map<String,String> map);
    List<Map<String,Object>> getIspListList(Map<String,String> map);


    List<Map<String,Object>> getPlanAdvTop10(Map<String,String> map);

    List<Map<String,Object>> getZoneTop10(Map<String,String> map);

    Page<Map<String,Object>> getUidListByPage(Map<String,String> map);

    List<Map<String,Object>> getSumUidList(Map<String,String> map);
    List<Map<String,Object>> getSumPlanList(Map<String,String> map);

    Page<Map<String,Object>> getAdsIdListByPage(Map<String,String> map);
    List<Map<String,Object>> getSumAdsIdList(Map<String,String> map);


    Page<Map<String,Object>> getZoneIdListByPage(Map<String,String> map);
    List<Map<String,Object>> getSumZoneIdList(Map<String,String> map);


    Page<Map<String,Object>> getAdvUidListByPage(Map<String,String> map);

    List<Map<String,Object>> getSumAdvUidList(Map<String,String> map);

    List<Map<String,Object>> getSiteTop10(Map<String,String> map);


    List<Map<String, Object>> getUidTopFromResult(Map<String, String> paramMap);

    List<Map<String, Object>> getPlanTopFromResult(Map<String, String> paramMap);

     List<Map<String, Object>> getAdvTopFromResult(Map<String, String> paramMap);

    List<Map<String, Object>> getPlanAdvTopFromResult(Map<String, String> paramMap);

    List<Map<String, Object>> getZoneTopFromResult(Map<String, String> paramMap);

    List<Map<String, Object>> getSiteTopFromResult(Map<String, String> paramMap);


    List<Map<String,Object>> getPhoneBrandListByids(Map<String,String> map);
    List<Map<String,Object>> getBrowserListByids(Map<String,String> map);

    List<Map<String,Object>> getIspListByids(Map<String,String> map);

    List<Map<String,Object>> getAreaListByids(Map<String,String> map);

    List<Map<String,Object>> getPhoneBrandList(Map<String,String> map);

    List<Map<String,Object>> getDaBrowser(Map<String,String> map);
}
